  

export interface IDefinitionParam {
  pageSize: number
  pageNo: number
  searchVal: string | undefined
}

export interface IDefinitionData {
  code: number
  createTime: string
  description: string
  executionType: string
  flag: 'YES' | 'NO'
  globalParamList: any
  globalParamMap: Object
  globalParams: string
  id: number
  locations: any
  modifyBy: string
  name: string
  projectCode: number
  projectName: any
  releaseState: string
  scheduleReleaseState: any
  tenantCode: any
  tenantId: number
  timeout: number
  updateTime: string
  userId: number
  userName: string
  version: number
  warningGroupId: number
}

export interface ICrontabData {
  id: number
  crontab: string
  definitionDescription: string
  endTime: string
  environmentCode: number
  failureStrategy: string
  processDefinitionCode: number
  processDefinitionName: string
  processInstancePriority: string
  projectName: string
  releaseState: 'ONLINE' | 'OFFLINE'
  startTime: string
  timezoneId: string
  createTime: string
  updateTime: string
  userId: 1
  userName: string
  warningGroupId: number
  warningType: string
  workerGroup: string
}
